<?xml version="1.0" ?>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<f:view>
	<html xmlns="http://www.w3.org/1999/xhtml"  xml:lang="de">
		<head>
			<title>EWA Poker :: Tisch 1</title>
			<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/>
			<meta name="description" content="Pokertisch des EWA Poker Portals."/>
			<meta name="keywords" content="tisch EWA poker"/>
			<meta name="language" content="de-AT"/>
			<link rel="stylesheet" type="text/css" href="styles/screen.css"/>
		</head>
		<body>
			<ul class="accessibility">
				<li><a href="#table" accesskey="0">Spielinformationen</a></li>
				<li><a href="#navigation" accesskey="1">Navigation</a></li>
				<li><a href="#news" accesskey="2" xml:lang="en">News</a></li>
			</ul>
			<div id="wrapper">
				<div id="header">
					<div id="teaser">
					</div>
					<h1>EWA Poker</h1>
				</div>
				<div id="body">
					<div id="infoborder">
						<p>Eingeloggt als 
							<em xml:lang="en"><h:outputText value="#{GameBean.player.userName}"/></em>.
						</p>
					</div>
					<div id="sidebar"> </div>
					<hr class="accessibility" />
					<div id="main">
						<div id="navigation">
							<h:form>
								<ul>
									<li><h:commandButton action="#{LoggedInController.editForm}" value="Userdaten ändern" accesskey="u"/></li>
									<li><h:commandButton action="#{GameController.newTable}" value="Zum Pokertisch" accesskey="z"/></li>
									<li><h:commandButton action="#{LoggedInController.logout}" value="Ausloggen" accesskey="o"/></li>
								</ul>
							</h:form>
						</div>
						<h:form>
							<div id="logininfo">
								<h2>Daten ändern</h2>
									<div class="formblock">
										<fieldset>
												<div>
													<h:outputLabel styleClass="Float" for="password" value="Passwort"/>
													<h:inputSecret id="password" required="true"
												       requiredMessage="bitte angeben" 
												       value="#{GameBean.player.password}" />
												   <span class="message">&nbsp;<h:message for="password"/></span>
												</div>
												<div>
													<h:outputLabel styleClass="Float" for="stack" value="Größe des Stack"/>
													<h:inputText id="stack" required="true"
												       requiredMessage="bitte angeben"
												       value="#{GameBean.player.stack}"
												       converterMessage="es sind nur Zahlen erlaubt"
													   validator="#{RegisterController.validateStack}"
													   validatorMessage="Stackgröße muss min. 1000 € betragen" />
													<span class="message">&nbsp;<h:message for="stack"/></span>
												</div>
										</fieldset>
									</div>
									<div id="buttons">
										<h:commandButton action="#{LoggedInController.edit}" value="Speichern" accesskey="r"/>
									</div>
							</div>
						</h:form>
					</div>
				</div>
				<div id="footer">
					<p>&copy; 2008 EWA Poker.</p>
				</div>
			</div>
		</body>
	</html>
</f:view>